package com.sky.sd.system.bean.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sky.sd.common.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 部门
 * </p>
 *
 * @author 弓振
 * @since 2020-07-03
 */
@Data
  @EqualsAndHashCode(callSuper = true)
    @TableName("sky_dept")
@ApiModel(value="Dept对象", description="部门")
public class Dept extends BaseEntity {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "主键")
        private String id;

      @ApiModelProperty(value = "租户编码")
      private String tenantCode;

      @ApiModelProperty(value = "父部门，0代表顶级部门")
      private String parentId;

      @ApiModelProperty(value = "部门名")
      private String deptName;

      @ApiModelProperty(value = "部门类型")
      private Integer type;

      @ApiModelProperty(value = "启用状态, 1：启用；0：禁用")
      private Integer enabled;

      @ApiModelProperty(value = "部门顺序， 由小到大")
      private Integer sort;

      @ApiModelProperty(value = "备注")
      private String remark;


}
